import request from '@/http/index.js'

/* 
  GET params
  POST data
*/

// 用户信息
export function list(params) {
  return request({
    url:  '/api/config/list',
    method: 'GET',
    params
  })
}

// 首页推荐
export function getIndex(params) {
  return request({
    url:  '/api/container/getIndex',
    method: 'GET',
    params
  })
}

// 微博详情
export function extend(params) {
  return request({
    url:  '/statuses/extend',
    method: 'GET',
    params
  })
}

// 详情 banner 图
export function banner(params) {
  return request({
    url:  '/statuses/banner',
    method: 'GET',
    params
  })
}

// 评论
export function hotflow(params) {
  return request({
    url:  '/comments/hotflow',
    method: 'GET',
    params
  })
}
